﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Ylh.IDAL
{
  public  interface IStaffInfo
    {
        /// <summary>
        /// 插入员工详细信息
        /// </summary>
        /// <param name="ConStr"></param>
        /// <param name="model">员工详细信息</param>
        /// <returns></returns>
       int InsertIntoStaffInfo(string ConStr, Ylh.Model.TbStaffInfo model);
     


        /// <summary>
        /// 更新员工详细信息
        /// </summary>
        /// <param name="ConStr"></param>
        /// <param name="model">员工详细信息对象</param>
        /// <returns></returns>
         bool UpdateStaffInfo(string ConStr, Ylh.Model.TbStaffInfo model);
    

         /// <summary>
        /// 得到一个对象实体
        /// </summary>
         Ylh.Model.TbStaffInfo GetModel(string ConStr, int StaffID);

      /// <summary>
        /// 插入员工详细信息
        /// </summary>
        /// <param name="ConStr"></param>
        /// <param name="model">员工详细信息</param>
        /// <returns></returns>
         int InsertIntoStaffInfo1(string ConStr, Ylh.Model.TbStaffInfo model);

    }
}
